import request from '@/utils/request';


// 库存列表
export function storeListApi(params) {
    return request({
        url: '/admin/merchant/product/stock/page',
        method: 'get',
        params,
    });
}


//采购记录
export function buyListApi(params) {
    return request({
        url: '/admin/merchant/in-or-out-warehouse-orders/purchase/list',
        method: 'get',
        params,
    });
}

//   退货记录
export function returnListApi(params) {
    return request({
        url: '/admin/merchant/in-or-out-warehouse-orders/return/list',
        method: 'get',
        params,
    });
}

//   退货采购、采购采购详情
export function detailApi(id) {
    return request({
        url: `/admin/merchant/in-or-out-warehouse-orders/detail/${id}`,
        method: 'get',
    });
}




